@layout("/common/_form.html",{js:["/assets/task/task_edit.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">任务执行详情</span>
</div>
<div class="alert alert-success" role="alert">
    <div id="taskType"></div>
    <div id="taskDate"></div>
    <div id="taskStatus"></div>
    <div id="taskReviewStatus"></div>
</div>
<form class="layui-form" id="taskForm" lay-filter="taskForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="taskId" type="hidden"/>
                    <div class="layui-form toolbar" style="padding-bottom: 20px">
                        <button class="layui-btn layui-btn-sm layui-btn-danger layui-btn-radius" id="recordButton" type="button">&emsp;点击查看此任务其他记录&emsp;
                        </button>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">生产计划ID</label>
                        <div class="layui-input-block">
                            <input id="planId" name="planId" placeholder="请输入生产计划ID" type="text" class="layui-input" disabled/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">任务标题</label>
                        <div class="layui-input-block">
                            <input id="title" name="title" placeholder="请输入任务标题" type="text" class="layui-input" disabled/>
                        </div>
                    </div>


<!--       喂养任务             -->
                    <input name="taskRecordId" type="hidden"/>
                    <div id="materielForm" class="layui-not-events">
                        <div class="layui-form toolbar">
                            <div class="layui-form-item">
                                <div class="layui-inline">
                                    <span class="layui-badge layui-bg-green">喂养任务</span>
                                </div>
                            </div>
                        </div>
                        <div id="taskMaterielItemList"></div>
                    </div>
<!--       喂养任务             -->
                    <div id="otherForm" class="layui-not-events">
                        <div class="layui-form toolbar">
                            <div class="layui-form-item">
                                <div class="layui-inline">
                                    <span class="layui-badge layui-bg-green">其他任务</span>
                                </div>
                            </div>
                        </div>
                        <div id="taskOtherItemList"></div>
                    </div>
<!--人员-->
                    <div id="workerForm">
                        <div class="layui-form toolbar">
                            <div class="layui-form-item">
                                <div class="layui-inline">
                                    <span class="layui-badge layui-bg-green">执行</span>
                                </div>
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6">
                            <label class="layui-form-label">执行人员</label>
                            <div class="layui-input-block">
                                <input id="worker" name="worker" type="hidden" class="layui-input"/>
                                <select name="worker" id="workerSelect" lay-filter="workerSelect">

                                </select>
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6">
                            <label class="layui-form-label">执行状态</label>
                            <div class="layui-input-block">
                                <input type="radio" name="status" value="0" title="未执行">
                                <input type="radio" name="status" value="1" title="执行完成">
                                <input type="radio" name="status" value="2" title="取消执行">
                            </div>
                        </div>

                    </div>
                    <div id="reviewForm">
                        <div class="layui-form toolbar">
                            <div class="layui-form-item">
                                <div class="layui-inline">
                                    <span class="layui-badge layui-bg-green">审核</span>
                                </div>
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6">
                            <label class="layui-form-label">审核人员</label>
                            <div class="layui-input-block">
                                <input id="reviewWorker" name="reviewWorker" type="hidden"
                                       class="layui-input"/>
                                <select name="reviewWorker" id="reviewWorkerSelect"
                                        lay-filter="reviewWorkerSelect">

                                </select>

                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6">
                            <label class="layui-form-label">审核状态</label>
                            <div class="layui-input-block">
                                <input type="radio" name="reviewStatus" value="0" title="未审核">
                                <input type="radio" name="reviewStatus" value="1" title="审核完成">
                                <input type="radio" name="reviewStatus" value="2" title="取消审核">
                            </div>
                        </div>

                    </div>

                </div>
            </div>
        </div>
    </div>
    <div class="text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit id="comfireButton" type="button">&emsp;提交&emsp;
        </button>
        <button type="reset" class="layui-btn layui-btn-primary" id="backupPage">&emsp;返回&emsp;</button>
    </div>

</form>

@}